package com.yitiao.controller;

import com.yitiao.service.CustomConfigService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/config")
@RequiredArgsConstructor
public class CustomConfigController {

    private final CustomConfigService customConfigService;

    @GetMapping("/get")
    public void getConfigTest(){
        customConfigService.testCustomConfig();
    }
}
